package com.cheer.utils;

import cn.hutool.core.date.DateTime;

import java.util.Date;

public class DateUtil extends cn.hutool.core.date.DateUtil {

    /**
     * 转换时间为日期
     * @param seconds
     * @return
     */
    public static Date convertSecondsToDateTime(long seconds) {
        DateTime date = cn.hutool.core.date.DateUtil.date(seconds * 1000);
        return date;
    }

}
